package com.zb.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author WEN
 * @Date 2023/8/10 0010
 **/
@Data
@ApiModel("用户账号对象")
public class UserAccountVo {
    @ApiModelProperty(value = "用户ID")
    private Long id;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "登录账号")
    private String account;

    @ApiModelProperty(value = "用户编码")
    private String code;

    @ApiModelProperty(value = "用户姓名")
    private String name;

    @ApiModelProperty(value = "用户昵称")
    private String nickname;

    @ApiModelProperty(value = "账号状态：0-正常，1-冻结，2-禁用")
    private Integer status;

    @ApiModelProperty(value = "最后登录时间")
    private Date lastLoginTime;

    @ApiModelProperty(value = "用户头像路径")
    private String avatar;

    @ApiModelProperty(value = "余额")
    private BigDecimal money;

    @ApiModelProperty(value = "客户等级ID")
    private Long levelId;

    @ApiModelProperty(value = "客户等级")
    private String level;

    @ApiModelProperty(value = "用户分类ID")
    private Long userTypeId;

    @ApiModelProperty(value = "用户分类名称")
    private String userType;

    @ApiModelProperty(value = "知识库查看权限：false-查看所有，true-根据客户分类权限查看")
    private Boolean selectKnowledgeAuthor;

    @ApiModelProperty(value = "创建/注册时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "工单数量")
    private int orderNo;

    @ApiModelProperty(value = "产品数量")
    private int productNo;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "地址-省")
    private String province;

    @ApiModelProperty(value = "地址-市")
    private String city;

    @ApiModelProperty(value = "地址-县/区")
    private String area;

    @ApiModelProperty(value = "地址-镇")
    private String town;

    @ApiModelProperty(value = "地址-详细地址")
    private String address;

}
